package com.czxy.blogs.domain;

import java.util.Date;

import javax.persistence.Id;

public class Record {
	@Id
    private String rid;

    private String uid; //外键
    private User user;  //外键对象

    private String uip;

    private Date accesstime;

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid == null ? null : rid.trim();
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid == null ? null : uid.trim();
    }

    public String getUip() {
        return uip;
    }

    public void setUip(String uip) {
        this.uip = uip == null ? null : uip.trim();
    }

    public Date getAccesstime() {
        return accesstime;
    }

    public void setAccesstime(Date accesstime) {
        this.accesstime = accesstime;
    }
}